package com.yp.studentsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yp
 * @since 2022-04-01
 */
public class RcStudentCourse extends Model<RcStudentCourse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sc_id", type = IdType.AUTO)
    private Integer scId;

    private Integer scStudentId;

    private Integer scCourseId;

    private Integer scDailyScore;

    private Integer scExamScore;

    private Integer scScore;

    public Integer getScId() {
        return scId;
    }

    public void setScId(Integer scId) {
        this.scId = scId;
    }
    public Integer getScStudentId() {
        return scStudentId;
    }

    public void setScStudentId(Integer scStudentId) {
        this.scStudentId = scStudentId;
    }
    public Integer getScCourseId() {
        return scCourseId;
    }

    public void setScCourseId(Integer scCourseId) {
        this.scCourseId = scCourseId;
    }
    public Integer getScDailyScore() {
        return scDailyScore;
    }

    public void setScDailyScore(Integer scDailyScore) {
        this.scDailyScore = scDailyScore;
    }
    public Integer getScExamScore() {
        return scExamScore;
    }

    public void setScExamScore(Integer scExamScore) {
        this.scExamScore = scExamScore;
    }
    public Integer getScScore() {
        return scScore;
    }

    public void setScScore(Integer scScore) {
        this.scScore = scScore;
    }

    @Override
    protected Serializable pkVal() {
        return this.scId;
    }

    @Override
    public String toString() {
        return "RcStudentCourse{" +
            "scId=" + scId +
            ", scStudentId=" + scStudentId +
            ", scCourseId=" + scCourseId +
            ", scDailyScore=" + scDailyScore +
            ", scExamScore=" + scExamScore +
            ", scScore=" + scScore +
        "}";
    }
}
